package com.zpl.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zpl.goods.entity.Goods;
import com.zpl.goods.entity.dto.GoodKeyWordDTO;
import com.zpl.goods.entity.vo.GoodVO;
import com.zpl.goods.entity.vo.SellVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {
//    List<GoodVO> getGoodList(GoodKeyWordDTO goodKeyWordDTO);
//    int getGoodTotal(GoodKeyWordDTO goodKeyWordDTO);
//    畅销榜单
    List<SellVO> getSellList();
//    新品榜单
    List<SellVO> getNewList();
//    猜你喜欢
    List<SellVO> getLike();
}
